<eq name="type" value="add">
<textarea class="textarea" cols="40" data-widearea="enable" id="{$field.name}" name="{$field.name}" placeholder="{$field.homeremark}" rows="5" style="width: 100;"></textarea>
<else/>
<textarea class="textarea" cols="40" data-widearea="enable" id="{$field.name}" name="{$field.name}" placeholder="{$field.homeremark}" rows="5" style="width: 100;">{$data[$field['name']]}</textarea>
</eq>